﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Beskidzkie Centrum Muzyczne</title>
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")

</head>
<body>
    <div class="container">
        <div class="masthead">
            <h3 class="text-muted">@Html.ActionLink("Beskidzkie Centrum Muzyczne", "Index", "Home")</h3>

            @if (Request.IsAuthenticated)
            {
                <div class="btn-group" role="group" aria-label="...">
                    <button type="button" class="btn btn-default">@Html.ActionLink("Role", "Index", "AspNetRoles")</button>
                    <button type="button" class="btn btn-default">@Html.ActionLink("Lekcje", "Index", "Lekcjes")</button>
                    <div class="btn-group" role="group">
                        <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            Instrumenty
                            <span class="caret"></span>
                        </button>
                        <ul class="dropdown-menu">
                            <li>@Html.ActionLink("Instrument dla Ucznia", "Index", "InstrumentUczens")</li>
                            <li>@Html.ActionLink("Instrument dla Naucyzciela", "Index", "InstrumentNauczyciels")</li>
                        </ul>
                    </div>
                    <button type="button" class="btn btn-default">@Html.ActionLink("Sale", "Index", "Sales")</button>
                    <button type="button" class="btn btn-default">@Html.ActionLink("Uczniowie", "Index", "Uczniowies")</button>
                    <button type="button" class="btn btn-default">@Html.ActionLink("Nauczyciele", "Index", "Nauczycieles")</button>
                    <button type="button" class="btn btn-default">@Html.ActionLink("Instrumenty", "Index", "Instrumenties")</button>
                    <button type="button" class="btn btn-default">@Html.ActionLink("Lekcje", "Index", "Lekcjes")</button>
                </div>
            }
            else
            {
                <div class="btn-group" role="group" aria-label="...">
                    <button type="button" class="btn btn-default">@Html.ActionLink("About", "About", "Home")</button>
                    <button type="button" class="btn btn-default">@Html.ActionLink("Contact", "Contact", "Home")</button>
                </div>
            }

            @Html.Partial("_LoginPartial")
        </div>
        <div class="container body-content">
            @RenderBody()
            <hr />
            <footer>
                <p>&copy; @DateTime.Now.Year - My ASP.NET Application</p>
            </footer>
        </div>

        @Scripts.Render("~/bundles/jquery")
        @Scripts.Render("~/bundles/bootstrap")
        @RenderSection("scripts", required: false)
</body>
</html>
